/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.velocityme.session;

import com.velocityme.entity.GroupAccess;
import com.velocityme.entity.Node;
import java.util.Set;
import javax.ejb.Local;

/**
 *
 * @author rcrida
 */
@Local
public interface GroupAccessLocal {

    GroupAccess createGroupAccess(KeyLocal key, Long nodeId, Long groupId, Long roleId);

    void deleteGroupAccess(KeyLocal key, Long groupAccessId);

    Set<GroupAccess> getGroupAccessByNode(KeyLocal key, Node node);
    
}
